Total Complexity | 41 |
Dependencies | 3 |
Dependents | 1 |
Total lines | 508 |
Lines of code | 377 |
Logical lines of code | 95 |
Comment lines | 87 |
Methods | 13 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
render_message_html() | 31 | 1 | 212 | |
process_unsubscribe_request() | 44 | 9 | 47 | |
get_client_ip() | 52 | 7 | 24 | |
get_redirect_url() | 55 | 6 | 21 | |
process_unsubscribe_backup() | 63 | 4 | 10 | |
display_unsubscribe_message() | 61 | 3 | 13 | |
handle_unsubscribe_request() | 66 | 3 | 8 | |
redirect_with_message() | 62 | 2 | 12 | |
add_unsubscribe_body_class() | 71 | 2 | 6 | |
__construct() | 73 | 1 | 5 | |
init_hooks() | 69 | 1 | 6 | |
set_message() | 69 | 1 | 7 | |
get_unsubscribe_url() | 70 | 1 | 6 |